package com.tianqu.tms.dao;

import java.util.List;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.TransMarketCodeDto;

public interface TransMarketCodeDao {

	/**
	 * 获取交易票信息
	 * @param id
	 * @return
	 * @throws TmsDaoException
	 */
	public List<TransMarketCodeDto> getTransMarketCodeInfoByPy(String py)throws TmsDaoException;
	
	
	public TransMarketCodeDto getTransMarketCodeInfo(String id)throws TmsDaoException;
	
	/**
	 * 载入交易票列表
	 * @return
	 * @throws TmsDaoException
	 */
	public List<TransMarketCodeDto> loadAllTransMarketCode()throws TmsDaoException;
}
